Improving Repair Ability of the FreeBSD Installer
Student: ChunChengYeh (leafoliage@FreeBSD.org)
Mentor: PierrePronchery, LiWenHsu (lwhsu@FreeBSD.org)
Project description
This project aims to improve the FreeBSD installer in three aspects: adding a repair menu, adding an upgrade menu and modifying the liveCD environment to facilitate pkg install. The repair menu would allow users to choose existing partitions in a computer to mount and access for further inspection and repair. The upgrade menu would allow users to choose existing systems to upgrade to newer version. Lastly, the liveCD would be modified to allow pkg installation within out of the box.
Approach to solving the problem
Repair Menu
- Use gpart to filter root partition
- Write a script to list partitions and mount them for access upon selection
Update Menu
- Write a fully/partially automatic upgrade script
- Write a script to list existing systems to upgrade
LiveCD environment for pkg install
- specify a tmpfs as /usr/local to be included in /etc/fstab
- Modify /tmp size
- configure dhcp in startbsdinstall
Deliverables
- A repair menu listing partitions to mound and access
- An upgrade menu listing systems to upgrade
- Allow pkg install in LiveCD out of the box
Milestones
TBD
Test Plan
- Test out repair menu with one/several system with zfs/ufs (if it can correctly identify partitions and mount)
- Test out upgrade menu with one/several system (if it can correctly identify systems and upgrade smoothly)
- Test out pkg install once boot into the LiveCD environment
The Code
TBA